package com.pdf.pdfserver.vo;

import java.util.List;

/**
 * @Author songfz
 * @Description
 * @Date 2022/1/11
 */
public class PageVO<T> {

    private Integer pageSize;

    private Integer currentPage;

    private List<T> list;

    private Long total;
    private Long totalPage;

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Long getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Long totalPage) {
        this.totalPage = totalPage;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public PageVO() {
    }

    public PageVO(Integer pageSize, Integer currentPage, List<T> list, Long total, Long totalPage) {
        this.pageSize = pageSize;
        this.currentPage = currentPage;
        this.list = list;
        this.total = total;
        this.totalPage = totalPage;
    }
}
